package com.nuanshui.heatedloan.dao.cms.security;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.nuanshui.heatedloan.entity.cms.security.Role;


/**
 * 角色的dao
 */
public interface RoleDao extends JpaRepository<Role, Long>,
		JpaSpecificationExecutor<Role> {
	Page<Role> findByNameContaining(String name, Pageable pageable);
}
